/**
 * 竖屏
 */
export const portrait = async () => {
    const intent = 'portrait_v2';
    return await window.flutter_inappwebview.callHandler(intent);
}
    
/**
 * 自动旋转
 */
export const autoOrientation = async () => {
    const intent = 'AutoOrientation'
    return await window.flutter_inappwebview.callHandler(intent);
}
    
/**
 * 全屏
 */
export const fullscreen = async () => {
    const intent = 'fullscreen_v2';
    return await window.flutter_inappwebview.callHandler(intent);
}
    